package com.zxjbyte.yiyi.module.plugin.job.enums;

import com.zxjbyte.yiyi.framework.common.enums.CommonEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * Quartz定时任务状态枚举
 *
 * @Author zhangxingjia
 * @Date 2024/1/3 20:14
 * @Version: 1.0
 */
@AllArgsConstructor
public enum QuartzJobStatusEnum implements CommonEnum<Integer> {

    // 正常
    NORMAL(0),

    // 暂停
    PAUSE(1)
    ;

    @Getter
    private final Integer code;
}
